<?php
$document_title = 'FakeBank :: Template';
$document_meta_description = '<meta name="description" content="Template for fake bank page content">';
$breadcrumbs = 'FakeBank Template';
include "fakebank_header.html"; ?>

<!-- Set up the nav buttons how you like for each page. Specifically, the 'selected' class. 
		Leave start and end classes on first and last buttons. -->
	<nav>
    	<ul>
        	<li class="start"><a href="index.php">Home</a></li>
            <li><a href="styling.php">Styling Examples</a></li>
            <li class="selected"><a href="template.php">Template page</a></li>
			<li><a href="php_binding.php">PHP DB Binding</a></li>            
            <li class="end"><a href="#">Contact Us</a></li>
        </ul>
    </nav>

<!-- Breadcrumb trail -->
<div id="breadcrumbs"><a href="index.php">FakeBank</a> <?php if (isset ($breadcrumbs))echo ' > '.$breadcrumbs; ?> </div>


    <div id="body">
        <section id="content">
	    <article>
	    
		<h1>FakeBank Template</h1>
		<p>You can put all your content here in the &lt;article&gt; section that you want to show up on the right side.</p>
		
		<p>You can customize the top navbar, for example by choosing what button is 'selected' per page, just by editing above. For this page the 'template' button is 'selected' on the navbar.<p>
		
		<p>By putting boilerplate stuff in a header and footer file, which you can see includes for at the top and bottom of this template.php file, we can make changes in 1 or 2 places later on instead of on every page.</p>
		
		<p>There is a reason I put the sidebar in the footer.html file, but I'd rather spend time on some DB call examples now than set that up since it's sort of fiddly. It has to do with easily indicating what section of the site we're in on the sidebar nav.</p>
		
		<p>And actually I need to come up with a better way to do the top navbar because you can see that needs to go in the header. I mean I need to figure out how to automagically "select" the right button. This is probably going to be done with javascript, b/c the navbar needs the main content to load before it knows what button's selected. [correction - no, it's really not, just use php like title]</p>
		
  		</article>
        </section>
        
        
    	<div class="clear"></div>
		</div> <!--end body div -->
		
<?php include "fakebank_footer.html"; ?>		